package com.x.reader.model;

import com.x.framework.Base;
import com.x.framework.annotation.MappingColumn;
import com.x.framework.annotation.MappingTable;
import com.x.framework.model.BaseModel;
import com.x.reader.util.Constant;

@MappingTable(tableName = "reader_paper")
public class Paper extends BaseModel {
    @MappingColumn(columnName = "paper_id", columnLength = 32, columnPk = true)
    private String paperId;

    @MappingColumn(columnName = "paper_title")
    private String paperTitle;

    @MappingColumn(columnName = "paper_author")
    private String paperAuthor;

    @MappingColumn(columnName = "paper_cover")
    private String paperCover;

    @MappingColumn(columnName = "paper_url")
    private String paperUrl;

    @MappingColumn(columnName = "paper_create_time")
    private String paperCreateTime;

    @MappingColumn(columnName = "category_id")
    private Integer categoryId;

    public String getPaperId() {
        return paperId;
    }

    public void setPaperId(String paperId) {
        this.paperId = paperId;
    }

    public String getPaperTitle() {
        return paperTitle;
    }

    public void setPaperTitle(String paperTitle) {
        this.paperTitle = paperTitle;
    }

    public String getPaperAuthor() {
        return paperAuthor;
    }

    public void setPaperAuthor(String paperAuthor) {
        this.paperAuthor = paperAuthor;
    }

    public String getPaperCover() {
        return paperCover;
    }

    public void setPaperCover(String paperCover) {
        this.paperCover = paperCover;
    }
    public String getPaperUrl() {
        return paperUrl;
    }

    public void setPaperUrl(String paperUrl) {
        this.paperUrl = paperUrl;
    }

    public String getPaperCreateTime() {
        return paperCreateTime;
    }

    public void setPaperCreateTime(String paperCreateTime) {
        this.paperCreateTime = paperCreateTime;
    }

    public Integer getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(Integer categoryId) {
        this.categoryId = categoryId;
    }
}
